package service.admin.impl;

import dao.admin.CardDelDao;
import dao.admin.impl.CardDelDaoImpl;
import service.admin.CardDelService;

/**
 * CardDelServiceImpl
 *
 * @author lenovo
 * @since 2023/9/5
 */
public class CardDelServiceImpl implements CardDelService {

    //引入数据访问层
    CardDelDao dao = new CardDelDaoImpl();

    @Override
    public int delBook(int id) {
        return dao.delBook(id);
    }

    @Override
    public int delCard(int id) {
        return dao.delCard(id);
    }
}
